import { createWebHistory, createRouter } from "vue-router";
const routes = [
  {
    path: "/",
    component: () => import("@/App.vue"),
    redirect: "/primitive",
    children: [
      {
        path: "/primitive",
        component: () => import("@/components/PerformanceTest.vue"),
      },
      {
        path: "/entity",
        component: () => import("@/components/EntityPrimitiveTest.vue"),
      },
    ],
  },
];
const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
